import React, { PureComponent } from 'react';
import { Route, Switch } from 'react-router-dom';
import PanHome from './PanHome';
import PanShare from './PanShare';
import './index.less';

class LeftSubNav extends PureComponent {
  render () {
    return (
      <div className="left_sub_nav">
        <Switch>
          <Route path="/pan/home" component={PanHome} />
          <Route path="/pan/share" component={PanShare} />
        </Switch>
      </div>
    );
  }
}

export default LeftSubNav;
